package sgpt.Beans.DAO.interfaces;

import java.util.List;

import sgpt.Beans.Cidade;
import sgpt.Beans.Transporte;

public interface ItransporteDAO {
 
	public abstract Transporte insereTransporte(Transporte transp);
	public abstract Transporte removeTransporte(Transporte transp);
	public abstract Transporte updateTransporte(Transporte transp);
	public abstract List<Transporte> getTransportesDe(Cidade origem);
	public abstract List<Transporte> getTransportesDe(long origemid);
	public abstract Transporte getTransporteById(long transporteid);
	public abstract List<Transporte> getTransportesPara(Cidade destino);
	public abstract List<Transporte> getTransportesPara(long destinoid);
}
 
